package com.bingxue.edu.management.education.model.resp;

import com.mybatisflex.annotation.RelationManyToOne;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 学员详情信息
 *
 * @author panbo
 * @since 2024/07/25 00:02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "学员详情信息")
public class StudentDetailResp extends StudentResp {

    @Schema(description = "家长信息")
    @RelationManyToOne(selfField = "parentId", targetTable = "edu_parent", targetField = "id")
    private ParentResp parent;

}
